
set(SOURCE_DIR
    ${CMAKE_CURRENT_SOURCE_DIR}/src
)

set(APP_SRC 
    ${SOURCE_DIR}/main.cc
    ${SOURCE_DIR}/tests.cc

    ${SOURCE_DIR}/common/cameraImp.cc
    ${SOURCE_DIR}/common/noiseUntil.cc

    ${SOURCE_DIR}/math/color_operator.cc

    ${SOURCE_DIR}/dst/simple_darr.cc

    ${SOURCE_DIR}/texture/stb_image_lib.cc
    ${SOURCE_DIR}/texture/noise_texture.cc
    ${SOURCE_DIR}/texture/marble_texture.cc

    ${SOURCE_DIR}/shape/triangle.cc
    ${SOURCE_DIR}/shape/plane.cc
    ${SOURCE_DIR}/shape/sphere.cc
    ${SOURCE_DIR}/shape/rectangle.cc
    # ${SOURCE_DIR}/dst/base_darr.cc

    ${SOURCE_DIR}/sample/sampler.cc
)

set(APP_INC
    ${SOURCE_DIR}/math/tvector.hpp
    ${SOURCE_DIR}/math/type_define.hpp
    ${SOURCE_DIR}/math/constants.hpp
    ${SOURCE_DIR}/math/color_operator.hpp
    ${SOURCE_DIR}/math/vec_operation.hpp
    ${SOURCE_DIR}/math/coordinate_base.hpp
    ${SOURCE_DIR}/math/aabb.hpp
    ${SOURCE_DIR}/math/tmatrix.hpp
    ${SOURCE_DIR}/math/math_operation.hpp

    ${SOURCE_DIR}/dst/simple_darr.hpp
    # ${SOURCE_DIR}/dst/base_darr.hpp
    ${SOURCE_DIR}/texture/image_descript.hpp
    ${SOURCE_DIR}/texture/image_write.hpp
    ${SOURCE_DIR}/texture/texture.hpp
    ${SOURCE_DIR}/texture/noise_texture.hpp
    ${SOURCE_DIR}/texture/solid_texture.hpp
    ${SOURCE_DIR}/texture/marble_texture.hpp
    

    ${SOURCE_DIR}/shape/shape.hpp
    ${SOURCE_DIR}/shape/sphere.hpp
    ${SOURCE_DIR}/shape/triangle.hpp
    ${SOURCE_DIR}/shape/plane.hpp
    ${SOURCE_DIR}/shape/rectangle.hpp

    ${SOURCE_DIR}/TestFunctionDefine.hpp
    ${SOURCE_DIR}/tests.hpp
    ${SOURCE_DIR}/misc/timer.hpp
    ${SOURCE_DIR}/common/camera.hpp
    ${SOURCE_DIR}/common/noiseUntil.hpp

    ${SOURCE_DIR}/sample/sampler.hpp
)

set(ALL_FILE
    ${ALL_FILE}
    ${APP_SRC}
    ${APP_INC}
)
